package server;

import cmm.ConnectionInformation;
import cmm.TaskContext;
import cmm.TaskType;



public abstract class SATaskContext extends TaskContext implements ISATaskContext {
	
//	private static final long serialVersionUID = 2957010962093327309L;
	private ConnectionInformation connInfo; //connection information of the client associated with this TaskContext

	public SATaskContext clone() throws CloneNotSupportedException{
		SATaskContext newContext = (SATaskContext)super.clone();
		newContext.connInfo = connInfo.clone();
		return newContext;		
	}
	
	public TaskType getType() {
		return TaskType.APPLICATION;
	}

	public ConnectionInformation getConnInfo() {
		return connInfo;
	}

	public void setConnInfo(ConnectionInformation connInfo) {
		this.connInfo = connInfo;
	}
	
}
